package com.ruoyi.system.dto;

import com.ruoyi.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class RegisterDto extends BaseDto {
    @NotBlank(message = "手机号不能为空")
    private String phone;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "邀请码不能为空")
    @ApiModelProperty("邀请码")
    private String inviteCode;
    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String code;
}
